/**
 * Copyright(c)2012 Beijing PeaceMap Co.,Ltd.
 * All right reserved. 
 */
package com.pmc.dwa.security.model;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @description 
 * @author aokunsang
 * @date 2013-1-6
 */
public class TSect implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String id;
	private String pid;
	private String group_id;
	private String sectname;
	private String comments;
	private String remark;
	private Short slevel;
	private Short status;
	private Short sort;
	private String icon;
	private Timestamp updatetime;
	private Long version;
	
	private String _parentId;
	public TSect(){}
	
	public TSect(String id,String comments){
		this.id = id;
		this.comments = comments;
	}
	
	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}
	/**
	 * @return the pid
	 */
	public String getPid() {
		return pid;
	}
	/**
	 * @param pid the pid to set
	 */
	public void setPid(String pid) {
		this.pid = pid;
		set_parentId(pid);
	}
	/**
	 * @return the group_id
	 */
	public String getGroup_id() {
		return group_id;
	}
	/**
	 * @param groupId the group_id to set
	 */
	public void setGroup_id(String groupId) {
		group_id = groupId;
	}
	/**
	 * @return the sectname
	 */
	public String getSectname() {
		return sectname;
	}
	/**
	 * @param sectname the sectname to set
	 */
	public void setSectname(String sectname) {
		this.sectname = sectname;
	}
	/**
	 * @return the comments
	 */
	public String getComments() {
		return comments;
	}
	/**
	 * @param comments the comments to set
	 */
	public void setComments(String comments) {
		this.comments = comments;
	}
	/**
	 * @return the remark
	 */
	public String getRemark() {
		return remark;
	}
	/**
	 * @param remark the remark to set
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}
	/**
	 * @return the slevel
	 */
	public Short getSlevel() {
		return slevel;
	}
	/**
	 * @param slevel the slevel to set
	 */
	public void setSlevel(Short slevel) {
		this.slevel = slevel;
	}
	/**
	 * @return the status
	 */
	public Short getStatus() {
		return status;
	}
	/**
	 * @param status the status to set
	 */
	public void setStatus(Short status) {
		this.status = status;
	}
	/**
	 * @return the sort
	 */
	public Short getSort() {
		return sort;
	}
	/**
	 * @param sort the sort to set
	 */
	public void setSort(Short sort) {
		this.sort = sort;
	}
	/**
	 * @return the icon
	 */
	public String getIcon() {
		return icon;
	}
	/**
	 * @param icon the icon to set
	 */
	public void setIcon(String icon) {
		this.icon = icon;
	}
	
	/**
	 * @return the version
	 */
	public Long getVersion() {
		return version;
	}
	/**
	 * @param version the version to set
	 */
	public void setVersion(Long version) {
		this.version = version;
	}
	/**
	 * @return the updatetime
	 */
	public Timestamp getUpdatetime() {
		return updatetime;
	}
	/**
	 * @param updatetime the updatetime to set
	 */
	public void setUpdatetime(Timestamp updatetime) {
		this.updatetime = updatetime;
	}

	/**
	 * @return the _parentId
	 */
	public String get_parentId() {
		return _parentId;
	}

	/**
	 * @param parentId the _parentId to set
	 */
	public void set_parentId(String parentId) {
		_parentId = parentId;
	}
}
